using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
	[Serializable]
	public class BsSchedulemachineTable : TableInfo
	{
		public const string C_TABLENAME = "Bs_Schedulemachine"; 

		public const string C_SCHEDULEMACHINEID = "SCHEDULEMACHINEID";
		public const string C_SCHEDULEPROCESSID = "SCHEDULEPROCESSID";
		public const string C_BILLDATE = "BILLDATE";
		public const string C_PROCESSID = "PROCESSID";
		public const string C_MACHINEID = "MACHINEID";
		public const string C_EXPECTINPUTTIME = "EXPECTINPUTTIME";
		public const string C_SINGLESTANDARDPROCESSTIME = "SINGLESTANDARDPROCESSTIME";
		public const string C_ADJUSTTIME = "ADJUSTTIME";
		public const string C_SINGLECLAMPTIME = "SINGLECLAMPTIME";
		public const string C_EXPECTPRODUCETIME = "EXPECTPRODUCETIME";
		public const string C_ACTULCOMPLETEDATE = "ACTULCOMPLETEDATE";
		public const string C_ACTULCOMPLETENUM = "ACTULCOMPLETENUM";
				
		public BsSchedulemachineTable()
		{
			_tableName ="Bs_Schedulemachine";
		}

		protected static BsSchedulemachineTable _current;

		public static BsSchedulemachineTable Current
		{
			get
			{
				if (_current == null )
				{
					Initial();
				}
				return _current;
			}
		}

		private static void Initial()
		{
			_current = new BsSchedulemachineTable();

			_current.Add(C_SCHEDULEMACHINEID, new ColumnInfo(C_SCHEDULEMACHINEID, "", true, typeof(Decimal?)));
			_current.Add(C_SCHEDULEPROCESSID, new ColumnInfo(C_SCHEDULEPROCESSID, "", false, typeof(Decimal?)));
			_current.Add(C_BILLDATE, new ColumnInfo(C_BILLDATE, "", false, typeof(DateTime?)));
			_current.Add(C_PROCESSID, new ColumnInfo(C_PROCESSID, "", false, typeof(String)));
			_current.Add(C_MACHINEID, new ColumnInfo(C_MACHINEID, "", false, typeof(String)));
			_current.Add(C_EXPECTINPUTTIME, new ColumnInfo(C_EXPECTINPUTTIME, "", false, typeof(Decimal?)));
			_current.Add(C_SINGLESTANDARDPROCESSTIME, new ColumnInfo(C_SINGLESTANDARDPROCESSTIME, "", false, typeof(Decimal?)));
			_current.Add(C_ADJUSTTIME, new ColumnInfo(C_ADJUSTTIME, "", false, typeof(Decimal?)));
			_current.Add(C_SINGLECLAMPTIME, new ColumnInfo(C_SINGLECLAMPTIME, "", false, typeof(Decimal?)));
			_current.Add(C_EXPECTPRODUCETIME, new ColumnInfo(C_EXPECTPRODUCETIME, "", false, typeof(DateTime?)));
			_current.Add(C_ACTULCOMPLETEDATE, new ColumnInfo(C_ACTULCOMPLETEDATE, "", false, typeof(DateTime?)));
			_current.Add(C_ACTULCOMPLETENUM, new ColumnInfo(C_ACTULCOMPLETENUM, "", false, typeof(Decimal?)));
						
		}

		public ColumnInfo SCHEDULEMACHINEID
		{
			get { return this[C_SCHEDULEMACHINEID];}
		}

		public ColumnInfo SCHEDULEPROCESSID
		{
			get { return this[C_SCHEDULEPROCESSID];}
		}

		public ColumnInfo BILLDATE
		{
			get { return this[C_BILLDATE];}
		}

		public ColumnInfo PROCESSID
		{
			get { return this[C_PROCESSID];}
		}

		public ColumnInfo MACHINEID
		{
			get { return this[C_MACHINEID];}
		}

		public ColumnInfo EXPECTINPUTTIME
		{
			get { return this[C_EXPECTINPUTTIME];}
		}

		public ColumnInfo SINGLESTANDARDPROCESSTIME
		{
			get { return this[C_SINGLESTANDARDPROCESSTIME];}
		}

		public ColumnInfo ADJUSTTIME
		{
			get { return this[C_ADJUSTTIME];}
		}

		public ColumnInfo SINGLECLAMPTIME
		{
			get { return this[C_SINGLECLAMPTIME];}
		}

		public ColumnInfo EXPECTPRODUCETIME
		{
			get { return this[C_EXPECTPRODUCETIME];}
		}

		public ColumnInfo ACTULCOMPLETEDATE
		{
			get { return this[C_ACTULCOMPLETEDATE];}
		}

		public ColumnInfo ACTULCOMPLETENUM
		{
			get { return this[C_ACTULCOMPLETENUM];}
		}

		
	}
}


